package com.hfi.qinxiaobo151;

import org.junit.Test;

/**
 * @author ChangLiang
 * @date 2018/9/3
 */
public class item1_03 {

    @Test
    public void test() {
        int i = 80;
        String s = String.valueOf(i<100?90:100);
        String s1 = String.valueOf(i<100?90:100.0);
        System.out.println("两者是否相等:"+s.equals(s1));
    }
}
